home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg - performs histogram scaling of image
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- ilLink : ilImage : ilCacheImg : ilMemCacheImg : ilOpImg : ilMonadicImg :
- ilScaleImg
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <il/ilCdefs.h>
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This class is publicly derived from ilScaleImg and performs the operation
- of histogram scaling. A specified percentage of high intensity pixels are
- clamped to a specified maximum output level. Similiarly a specified
- percentage of low intensity pixels are clamped to a specified minimum
- output level. The intervening intensities are linearly scaled between
- the two specified output levels. Histogram scaling is an operation
- through which one can enhance the contrast of an image.
-
- The thresholds beyond which clamping occurs are computed from the
- specified clip percentages using the histogram. In most cases, this
- results in different thresholds for different channels. In order to scale
- all channels uniformly, the smallest lower threshold is used as the lower
- threshold for all channels and the largest higher threshold is used as
- the higher threshold for all channels. As a result the clip percentages
- for each channel in the output image might differ from that specified.
-
- This operation involves computing the histogram of the source image.
- This can be computed within a region of interest, if one is specified.
- Along with the region of interest, one needs to specify the _x and _y
- offsets into the source image, at which the region of interest is to be
- placed. If a region of interest is not specified, then the histogram of
- the entire image is used. If this histogram is already computed, then a
- pointer to it can be passed, thus speeding up the whole operation. The
- same thresholds and output levels are used for all channels.
-
- Images of any data type can be given as input. See the man page for
- ilScaleImg to see how the data type and the allowable intensity range for
- this operator might be changed by cccchhhheeeecccckkkkMMMMiiiinnnnMMMMaaaaxxxx(((()))).
-
- CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
-
- ilHistScaleImg *ilHistScaleImgCreate(ilImage *src, double lowClip,
- double highClip, double outMin,
- double outMax, ilImgStat *imgstat,
- ilRoi *roi, int roiXoffset,
- int roiYoffset)
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333))))
-
-
-
- SSSSeeeetttt hhhhiiiissssttttooooggggrrrraaaammmm ppppaaaarrrraaaammmmeeeetttteeeerrrrssss
-
- ilImgStat* ilHistScaleImgGetImgStat(ilHistScaleImg *obj)
- void ilHistScaleImgSetImgStat(ilHistScaleImg *img, ilImgStat *imgstat)
- ilRoi* ilHistScaleImgGetRoi(ilHistScaleImg *obj)
- void ilHistScaleImgSetRoi(ilHistScaleImg *img, ilRoi *roi
- int roiXoffset, int roiYoffset)
- void ilHistScaleImgSetClip(ilHistScaleImg *img, double lowClip,
- double highClip)
- void ilHistScaleImgSetHistLimits(ilHistScaleImg *img, double low,
- double high)
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg(((())))
-
- ilHistScaleImg *ilHistScaleImgCreate(ilImage *src, double lowClip,
- double highClip, double outMin,
- double outMax, ilImgStat *imgstat,
- ilRoi *roi, int roiXoffset,
- int roiYoffset))
-
-
- This is the constructor and it takes: a pointer, _s_r_c, to the input
- image; _l_o_w_C_l_i_p and _h_i_g_h_C_l_i_p, that specify the high and low clip
- percentages; _o_u_t_M_i_n and _o_u_t_M_a_x, that specify the desired minimum and
- maximum output levels.
-
- An optional pointer to an ilImgStat ,_i_m_g_s_t_a_t, can also be specified.
- _i_m_g_s_t_a_t is a means of providing the histogram of the input image and
- can be specified if the histogram has already been computed or
- instantiated. If the value of NULL is used, then the histogram is
- computed by this operator.
-
- If desired, a region of interest can be specified through the
- pointer _r_o_i. _r_o_i_X_o_f_f_s_e_t, _r_o_i_Y_o_f_f_s_e_t are the _x and _y offsets into
- _s_r_c, at which _r_o_i is to be placed. These offsets are specified in
- the same coordinate space as that of _s_r_c. The histogram of _s_r_c is
- then computed only within the region pointed to by _r_o_i. If the
- value of NULL is used, then the region of interest is assumed to be
- the entire image.
-
- sssseeeettttCCCClllliiiipppp(((())))
-
- void ilHistScaleImgSetHclip(ilHistScaleImg *img, double lowClip,
- double highClip)
-
-
- The low clip percentage is set equal to _l_o_w_C_l_i_p and the high clip
- percentage is set equal to _h_i_g_h_C_l_i_p.
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333))))
-
-
-
- sssseeeettttHHHHiiiissssttttLLLLiiiimmmmiiiittttssss(((())))
-
- void ilHistScaleImgSetHistLimits(ilHistScaleImg *img, double Clip,
- double high)
-
-
- This function sets the limits between which the histogram is
- computed; that is, the histogram is computed between pixel
- intensities _l_o_w and _h_i_g_h for all channels. This histogram, together
- with the clip percentages, determine the thresholds in each channel.
-
- ggggeeeettttIIIImmmmggggSSSSttttaaaatttt(((())))
-
- ilImgStat* ilHistScaleImgGetImgStat(ilHistScaleImg *obj)
-
-
- Returns the current value of the input histogram (see below.)
-
- sssseeeettttIIIImmmmggggSSSSttttaaaatttt(((())))
-
- void ilHistScaleImgSetImgStat(ilHistScaleImg *img, ilImgStat *imgstat)
-
-
- The required input histogram is set equal to that pointed to by
- _i_m_g_s_t_a_t.
-
- ggggeeeettttRRRRooooiiii(((())))
-
- ilRoi* ilHistScaleImgGetRoi(ilHistScaleImg *obj)
-
-
- Returns the current value of the region of interest (see below.)
-
- sssseeeettttRRRRooooiiii(((())))
-
- void ilHistScaleImgSetRoi(ilHistScaleImg *img, ilRoi *roi, int roiXoffset,
- int roiYoffset)
-
-
- The desired region of interest is set equal to that pointed to by
- _r_o_i. _r_o_i_X_o_f_f_s_e_t, _r_o_i_Y_o_f_f_s_e_t specify the _x and _y offsets into the
- source image at which _r_o_i is to be placed. These offsets are
- specified in the same coordinate space as that of the source image.
-
- IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllSSSSccccaaaalllleeeeIIIImmmmgggg
- ilScaleImgGetDomain(), ilScaleImgGetIntercept(), ilScaleImgGetRange(),
- ilScaleImgGetSlope(), ilScaleImgResetDomain(), ilScaleImgResetRange(),
- ilScaleImgResetScaling(), ilScaleImgSetDomain(), ilScaleImgSetRange(),
- ilScaleImgSetScaling()
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333))))
-
-
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllMMMMoooonnnnaaaaddddiiiiccccIIIImmmmgggg
- ilMondadicImgGetOffset(), ilMondadicImgSetOffset()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllOOOOppppIIIImmmmgggg
- ilOpImgClearClamp(), ilOpImgGetBias(), ilOpImgGetClamp(),
- ilOpImgGetValidOrders(), ilOpImgGetValidTypes(), ilOpImgIsClamped(),
- ilOpImgIsPrecisionKept(), ilOpImgKeepPrecision(), ilOpImgSetBias(),
- ilOpImgSetClampMinMax(), ilOpImgSetClamp()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllMMMMeeeemmmmCCCCaaaacccchhhheeeeIIIImmmmgggg
- ilMemCacheImgEnableMP(), ilMemCacheImgGetPageTime(),
- ilMemCacheImgGetRetainMode(), ilMemCacheImgGetThrashMode(),
- ilMemCacheImgGetThrashTime(), ilMemCacheImgGetTotalPageTime(),
- ilMemCacheImgIsMPenabled(), ilMemCacheImgSetRetainMode(),
- ilMemCacheImgSetThrashMode()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllCCCCaaaacccchhhheeeeIIIImmmmgggg
- ilCacheImgFlush(), ilCacheImgGetCacheSize()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllIIIImmmmaaaaggggeeee
- ilAddInput(), ilAllocFillData(), ilClipTile(), ilClipTileAsTile(),
- ilClipTileFloat(), ilClipTileFloatAsTile(),
- ilConfigureRetainedCacheImage(), ilCopy(), ilCopyTile(), ilCopyTile3D(),
- ilCopyTileCfg(), ilFillTile(), ilFillTile3D(), ilFillTileRGB(),
- ilFreeFillData(), ilGetColorImg(), ilGetColorModel(), ilGetColormap(),
- ilGetColormapPtr(), ilGetCompression(), ilGetConfig(), ilGetCsize(),
- ilGetDataType(), ilGetDimensions(), ilGetDirectInput(),
- ilGetDisplayCacheEnable(), ilGetFill(), ilGetFillData(),
- ilGetFillValue(), ilGetHeight(), ilGetHwEnable(), ilGetHwHint(),
- ilGetHwHintName(), ilGetHwIntHint(), ilGetHwIntHintName(), ilGetInput(),
- ilGetInputTileRequirement(), ilGetLockTileSet(), ilGetMappedPageSize(),
- ilGetMappedSize(), ilGetMaxColormapLevels(), ilGetMaxValue(),
- ilGetMinValue(), ilGetNumChans(), ilGetNumInputs(), ilGetOrder(),
- ilGetOrientation(), ilGetPageBorder(), ilGetPageBorderPtr(),
- ilGetPageBorderX(), ilGetPageBorderY(), ilGetPageBorderZ(),
- ilGetPageCounts(), ilGetPageDelta(), ilGetPageDeltaStruct(),
- ilGetPageDimensions(), ilGetPageIndices(), ilGetPageOrigin(),
- ilGetPageOriginC(), ilGetPageOriginStruct(), ilGetPageOriginX(),
- ilGetPageOriginY(), ilGetPageOriginZ(), ilGetPageSize(),
- ilGetPageSizeBytes(), ilGetPageSizeC(), ilGetPageSizePix(),
- ilGetPageSizeStruct(), ilGetPageSizeVal(), ilGetPageSizeX(),
- ilGetPageSizeXY(), ilGetPageSizeY(), ilGetPageSizeZ(), ilGetPixel(),
- ilGetPixel3D(), ilGetPriority(), ilGetScaleMax(), ilGetScaleMin(),
- ilGetSize(), ilGetSizePtr(), ilGetStrides(), ilGetSubTile(),
- ilGetSubTile3D(), ilGetTile(), ilGetTile3D(), ilGetWidth(), ilGetXsize(),
- ilGetYsize(), ilGetZsize(), ilHasPageBorder(), ilHasPages(),
- ilInitScaleMinMax(), ilIsColorImg(), ilIsIntegral(),
- ilIsMirrorOrientation(), ilIsSigned(), ilIsWritable(), ilLockPage(),
- ilLockPageSet(), ilLockTile(), ilLockTile3D(), ilMapFlipTrans(),
- ilMapFromInput(), ilMapFromInput2D(), ilMapFromInput3D(),
- ilMapFromSource(), ilMapFromSource2D(), ilMapFromSource3D(),
- ilMapOrientation(), ilMapSize(), ilMapTile(), ilMapTileFlipTrans(),
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-
-
-
- iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllHHHHiiiissssttttSSSSccccaaaalllleeeeIIIImmmmgggg((((3333))))
-
-
-
- ilMapTileFloat(), ilMapToInput(), ilMapToInput2D(), ilMapToInput3D(),
- ilMapToSource(), ilMapToSource2D(), ilMapToSource3D(), ilMapXY(),
- ilMapXYFloat(), ilMapXYSign(), ilQCopyTileCfg(), ilQFillTile3D(),
- ilQFillTileRGB(), ilQGetSubTile3D(), ilQGetTile3D(), ilQLockPageSet(),
- ilQSetSubTile3D(), ilQSetTile3D(), ilRemoveHwHint(),
- ilRemoveHwHintName(), ilRemoveInput(), ilSetColorModel(),
- ilSetColormap(), ilSetCompression(), ilSetCsize(), ilSetDataType(),
- ilSetDisplayCacheEnable(), ilSetFill(), ilSetFillValue(),
- ilSetHwEnable(), ilSetHwHint(), ilSetHwIntHint(), ilSetHwIntHintName(),
- ilSetInput(), ilSetMaxColormapLevels(), ilSetMaxValue(), ilSetMinValue(),
- ilSetNumChans(), ilSetOrder(), ilSetOrientation(), ilSetPageBorder(),
- ilSetPageBorderStruct(), ilSetPageSize(), ilSetPageSizeC(),
- ilSetPageSizeStruct(), ilSetPageSizeXY(), ilSetPageSizeZ(), ilSetPixel(),
- ilSetPixel3D(), ilSetPriority(), ilSetScaleMinMax(), ilSetScaleType(),
- ilSetSize(), ilSetSubTile(), ilSetSubTile3D(), ilSetTile(),
- ilSetTile3D(), ilSetXYsize(), ilSetXsize(), ilSetYsize(), ilSetZsize(),
- ilUnlockPage(), ilUnlockPageSet()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllLLLLiiiinnnnkkkk
- ilLinkClearSet(), ilLinkClearStatus(), ilLinkGetDescription(),
- ilLinkGetDirectParent(), ilLinkGetDisabledIndex(), ilLinkGetFloatProp(),
- ilLinkGetGenerationID(), ilLinkGetIntProp(), ilLinkGetNumChildren(),
- ilLinkGetNumParents(), ilLinkGetParent(), ilLinkGetPtrProp(),
- ilLinkGetRelatedChild(), ilLinkGetRelatedDelete(),
- ilLinkGetRelatedType(), ilLinkGetStatus(), ilLinkIsAllowed(),
- ilLinkIsAltered(), ilLinkIsEnabled(), ilLinkIsRelated(), ilLinkIsSet(),
- ilLinkRemoveParent(), ilLinkRemoveProp(), ilLinkSetDescription(),
- ilLinkSetDisabledIndex(), ilLinkSetEnabled(), ilLinkSetParent(),
- ilLinkSetProp(), ilLinkSetRelatedDelete(), ilLinkSetRelatedType()
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ilImgStat, ilMonadicImg, ilRoi, ilScaleImg
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 5555
-
-
-
-